package com.llb666.shop.user.api.vo.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 权限账户.
 *
 * @author llb666
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description="token权限账户")
public class Account {

    @Schema(description = "用户Id")
    private String userId;

    @Schema(description = "密钥")
    private String token;

    @Schema(description = "刷新token需要的密钥")
    private String refreshToken;

    @Schema(description = "是否跳过验证(默认false)")
    @Builder.Default
    private boolean skipVerification = false;
}
